package com.woniuxy.lrz.carlproject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 商品分类表
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
@TableName("good_category")
@ApiModel(value = "GoodCategory对象", description = "商品分类表")
public class GoodCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "good_category_id", type = IdType.AUTO)
    private Integer goodCategoryId;

    @ApiModelProperty("分类名称")
    private String goodCategoryName;

    @ApiModelProperty("逻辑删除(0正常，1删除)")
    private Integer deleted;

    public Integer getGoodCategoryId() {
        return goodCategoryId;
    }

    public void setGoodCategoryId(Integer goodCategoryId) {
        this.goodCategoryId = goodCategoryId;
    }

    public String getGoodCategoryName() {
        return goodCategoryName;
    }

    public void setGoodCategoryName(String goodCategoryName) {
        this.goodCategoryName = goodCategoryName;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "GoodCategory{" +
        "goodCategoryId = " + goodCategoryId +
        ", goodCategoryName = " + goodCategoryName +
        ", deleted = " + deleted +
        "}";
    }
}
